package com.haorui.lygyd.employeemanager.dto;

import com.haorui.base.core.utils.BeanUtil;
import com.haorui.base.core.vo.DataTransferObject;
import com.haorui.lygyd.employeemanager.entity.YijianfankuiEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @support: 西安鑫正豪信息技术有限公司
 * @author: 系统生成
 * @version: 1.0
 * @Date: Wed Feb 27 00:27:36 CST 2019
 * @Description: 意见反馈
 */
@Data
public class YijianfankuiDto implements DataTransferObject<YijianfankuiEntity> {

    private String id;
    @ApiModelProperty(value = "员工ID")
    private String yuangongId;
    @ApiModelProperty(value = "员工姓名")
    private String yuangongName;
    @ApiModelProperty(value = "意见日期")
    private Date yijianDate;
    @ApiModelProperty(value = "意见内容")
    private String yijianneirong;
    @ApiModelProperty(value = "备注")
    private String beizhu;

    @Override
    public YijianfankuiEntity buildPO() {
        YijianfankuiEntity yijianfankuiEntity = new YijianfankuiEntity();
        BeanUtil.beanCopyIgnoreDefault(this, yijianfankuiEntity);
        return yijianfankuiEntity;
    }

    @Override
    public String getId() {
        return this.id;
    }
}
